package com.itheima.ydd.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.ydd.entity.Result;
import com.itheima.ydd.entity.YddLink;
import org.springframework.http.ResponseEntity;

public interface YddLinkService extends IService<YddLink> {
    ResponseEntity<Result> findAll(Integer type, Integer page, Integer limit);

    ResponseEntity<Result> add(YddLink yddLink);

    ResponseEntity<Result> findById(Integer id);

    ResponseEntity<Result> updateLink(YddLink yddLink);

    ResponseEntity<Result> delete(Integer id);
}
